package com.jah.picavue.client.events;

import com.google.gwt.event.shared.EventHandler;
import com.google.gwt.event.shared.GwtEvent;

public class AlbumFeedRequestedEvent extends
		GwtEvent<AlbumFeedRequestedEvent.Handler> {
	/**
	 * Interface to describe this event. Handlers must implement.
	 */
	public interface Handler extends EventHandler {
		public void onAlbumFeedRequested(AlbumFeedRequestedEvent evt);
	}

	@Override
	protected void dispatch(AlbumFeedRequestedEvent.Handler handler) {
		handler.onAlbumFeedRequested(this);
	}

	@Override
	public GwtEvent.Type<AlbumFeedRequestedEvent.Handler> getAssociatedType() {
		return TYPE;
	}

	public static final GwtEvent.Type<AlbumFeedRequestedEvent.Handler> TYPE = new GwtEvent.Type<AlbumFeedRequestedEvent.Handler>();

	private String requestedAlbumID;

	public void setID(String albumid) {
		requestedAlbumID = albumid;
	}
	public String getID() {
		return requestedAlbumID;
	}
}
